import java.util.Scanner;

public class FahrenheitToCelsius{
public static void main(String[]args){
Scanner input=new Scanner(System.in);

double fahrenheit,celsius;
System.out.println("please enter a degree");
fahrenheit=input.nextDouble();
celsius=5.0/9*(fahrenheit-32);
System.out.println(celsius);
}
}
